package com.example.yigoumall.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class User {
    private Integer id;
    private String loginName;
    private String userName;
    private String password;
    private Integer sex;
    private String identityCode;
    private String email;
    private String mobile;
    private Integer type;
    private LocalDateTime createTime;
    
    // 手动添加setId方法确保Lombok生效
    public void setId(Integer id) {
        this.id = id;
    }
}